
const fs = require('fs');

const util = require('util');

const mineReadFile = util.promisify(fs.readFile);

const p1 = mineReadFile('./code/1.html');

const p2 = mineReadFile('./code/2.html');

const p3 = mineReadFile('./code/3.html');

const p4 = Promise.all([p1,p2,p3]);

p4.then(value=>{
    console.log(value.join('').toString());
})